package cn.joybreeze.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import cn.joybreeze.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author kjwaa
 * @since 2021-09-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_questionnaire")
@ApiModel(value="QuestionnaireDO对象", description="")
public class QuestionnaireDO extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "问卷标题")
    private String questionnaireTitle;

    @ApiModelProperty(value = "问卷说明")
    private String questionnaireExplain;

    @ApiModelProperty(value = "问卷开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "问卷结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "访问url")
    private String accessUrl;

    @ApiModelProperty(value = "状态，1 创建、2 投放中、3 结束")
    private Integer questionnaireState;

    @ApiModelProperty(value = "创建人账号")
    private String creatorAccount;


}
